.S02_navbar_btns {
}

.S02_navbar {
  position: fixed;
  width: 100%;
  top: 25rem*320/(1440*12);
  left: 50%;
  transform: translateX(-50%);
  z-index: 19;
  padding: 0 20rem*320/(1440*12);
  .navbar-default .navbar-nav > li > a {
    color: #dbdee0;
    font-size: 18rem*320/(1440*12);
    letter-spacing: 2px;
  }
  .navbar-default {
    max-width: 1040px;
    margin:auto;
    background-color: transparent;
    background-image: none;
    border: none;
    box-shadow: none;
  }
  .navbar-default .navbar-collapse, .navbar-default .navbar-form {
    background-color: transparent;
  }
  .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .open > a {
    color: #fff;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    font-weight: 600;
    font-size: 20rem*320/(1440*12);
  }
  .nav > li:last-child > a {
    padding-right: 0;

  }
  .container-fluid {
    padding: 0;
  }
  .navbar-collapse {
    padding: 0;
  }
}

.S02_logo {
  width: 215rem*320/(1440*12);
  margin: 0rem*320/(1440*12) 0 0 0;
  &.S02_logo02{
    opacity: 0;
    transform:translateX(-100%);
  }
}

.S02_body .container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header {
  margin-right: 0;
  margin-left: 0;
}

.S02_body .navbar-nav {
  margin-left: 10%;
  margin-right: 0;
}

.S02_container {
  .S02_container_container {
    max-width: 1040px;
    width: 100%;
    overflow: hidden;
    margin: auto;
    z-index: 9;
    position: relative;
    .S02_container_container_title {
      text-align: center;
      .S02_container_container_title_01 {
        font-size: 36rem*320/(1440*12);
        font-weight: 500;
        margin-top: 110rem*320/(1440*12);
        margin-bottom: 20rem*320/(1440*12);
      }
      .S02_container_container_title_02 {
        width: 39rem*320/(1440*12);
        height: 4rem*320/(1440*12);
        background: #35adad;
        margin: auto;
        margin-bottom: 20rem*320/(1440*12);
      }
      .S02_container_container_title_03 {
        color: #b1aeae;
        font-size: 24rem*320/(1440*12);
        margin-bottom: 70rem*320/(1440*12);
      }
    }
  }
  width: 100%;
  padding: 0 20rem*320/(1440*12);
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.S02_container01 {
  background-image: url(../img/bg1.jpg);
  height: 781rem*320/(1440*12);
  .S02_CONCAT {
    float: right;
    height: 50rem*320/(1440*12);
    line-height: 66rem*320/(1440*12);
    color: #fff;
    font-size: 12rem*320/(1440*12);
  }
  .S02_CONCAT_01 {
    float: left;
    margin-left: 30rem*320/(1440*12);
    font-size: 16rem*320/(1440*12);
  }
  .S02_welcome {
    width: 412rem*320/(1440*12);
    height: 79rem*320/(1440*12);
    background: url(../img/海码教育欢迎您.png) no-repeat center;
    background-size: 100%;
    margin-top: 230rem*320/(1440*12);
  }
  .S02_huanyin_list {
    margin-top: 150rem*320/(1440*12);
    list-style: none;
    padding: 0;
    font-size: 20rem*320/(1440*12);
    color: #eee;
    letter-spacing: 2px;
    .S02_huanyin_list_item {
      padding: 8rem*320/(1440*12);
    }
    .S02_huanyin_list_item:first-child {
      padding-top: 0;
    }
    .S02_huanyin_list_item::before {
      content: " ";
      display: inline-block;
      width: 12rem*320/(1440*12);
      height: 12rem*320/(1440*12);
      background: url(../img/多边形-1.png) no-repeat center;
      background-size: 100%;

    }
    .S02_huanyin_list_item_b {
      font-size: 26rem*320/(1440*12);
      color: #fff;
    }
  }
  .S02_interview {
    width: 325rem*320/(1440*12);
    height: 417rem*320/(1440*12);
    border-radius: 10px;
    background-color: #fff;
    position: absolute;
    top: 240rem*320/(1440*12);
    right: 0;
    .S02_interview_title {
      font-size: 22rem*320/(1440*12);
      color: #fff;
      letter-spacing: 2px;
      font-weight: 600;
      background-color: #35adad;
      line-height: 55rem*320/(1440*12);
      border-radius: 10px 10px 0 0;
      text-align: center;
      margin-bottom: 47rem*320/(1440*12);
      img {
        width: 24rem*320/(1440*12);
        height: 24rem*320/(1440*12);
      }
    }
    .form-group {
      padding: 0 33rem*320/(1440*12);
      margin-bottom: 23rem*320/(1440*12);
      .form-control {
        height: 38rem*320/(1440*12);
        font-size: 18rem*320/(1440*12);
        padding: 10rem*320/(1440*12) 20rem*320/(1440*12);
        border-radius: 3px;
      }

    }
    .S02_submit {
      width: 260rem*320/(1440*12);
      margin: auto;
      background-image: linear-gradient(to bottom, #fad35a 0, #fbd04c 50%, #fad35a 100%);
      font-size: 18rem*320/(1440*12);
      color: #fff;
      font-weight: 500;
      letter-spacing: 3px;
      margin-left: 33rem*320/(1440*12);
      border: none;
      &:hover {
        background-position: center;
        background-image: linear-gradient(to bottom, #fad35a 0, #e3c054 50%, #fad35a 100%);
      }
    }
  }
}

.S02_container02 {
  height: 740rem*320/(1440*12);
  .S02_container_container_content {
    width: 100%;
    .S02_classes_list {
      display: flex;
      justify-content: space-between;
      .S02_classes_item {
        position: relative;
        .S02_class_img {
          width: 460rem*320/(1440*12);
          height: 290rem*320/(1440*12);
          background-repeat: no-repeat;
          background-size: 100%;
          border-radius: 0 5px 5px 5px;
        }
        .S02_class_price {
          background-color: #e94f92;
          position: absolute;
          left: 0;
          top: 0;
          line-height: 36rem*320/(1440*12);
          font-size: 16rem*320/(1440*12);
          padding: 0  15rem*320/(1440*12);
          color: #fff;
          border-radius: 0 50px 50px 0;
        }
        .S02_class_type {
          font-size: 24rem*320/(1440*12);
          color: #7e7d7d;
          text-align: center;
          margin-top: 25rem*320/(1440*12);
          letter-spacing: 3px;
        }
      }
      .S02_classes_item01 {
        .S02_class_img {
          background-image: url(../img/初级班.png);
        }
      }
      .S02_classes_item02 {
        .S02_class_img {
          background-image: url(../img/高级班.png);
        }
      }
    }
  }

}

.S02_container03 {
  background-image: url(../img/背景2.jpg);
  height: 740rem*320/(1440*12);
  .S02_container_container_title {
    .S02_container_container_title_03 {
      color: #fff !important;
    }
  }
  .S02_container_container_content {
    color: #fff;
    font-size: 20rem*320/(1440*12);
    width: 777rem*320/(1440*12);
    margin: auto;
    text-indent: 2em;
    line-height: 1.95em;
  }
}

.S02_container04 {
  height: auto;
  .S02_classes_list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 97rem*320/(1440*12);
    .S02_classes_item {
      border: 1px solid #ddd;
      width: 303rem*320/(1440*12);
      border-radius: 5px;
      white-space: nowrap;
      text-overflow: ellipsis;
      .S02_classes_item_img {
        background-repeat: no-repeat;
        background-size: 100% 100%;
        width: 303rem*320/(1440*12);
        height: 316rem*320/(1440*12);
      }
      text-align: center;
      .S02_classes_item_name {
        font-size: 34rem*320/(1440*12);
        color: #000;
        height: 50rem*320/(1440*12);
        line-height: 76rem*320/(1440*12);
      }
      .S02_classes_item_zizhi {
        font-size: 14.5rem*320/(1440*12);
        line-height: 50rem*320/(1440*12);
      }
    }
    .S02_classes_item01 {
      .S02_classes_item_img {
        background-image: url(../img/老师1.png)
      }
    }
    .S02_classes_item02 {
      .S02_classes_item_img {
        background-image: url(../img/老师2.png)
      }
    }
    .S02_classes_item03 {
      .S02_classes_item_img {
        background-image: url(../img/老师3.png)
      }
    }

  }
}

.S02_container05 {
  background-image: url(../img/联系我们.png);
  background-position: center top;
  height: 900rem*320/(1440*12);
}
.S02_Advertisement{
  position:fixed;
  width: 220rem*320/(1440*12);
  height: 580rem*320/(1440*12);
  right:0;
  top:50%;
  transform:translateY(-50%);
  background-color: #3645ff;
  z-index:1999;
  transition:all 500ms 0s linear;
  text-overflow: ellipsis;
  white-space: nowrap;
  .S02_btn_slide{
    width: 61rem*320/(1440*12);
    height: 61rem*320/(1440*12);
    background:url(../img/形状-3.png) no-repeat center;
    background-size:100% 100%;
    cursor:pointer;
    position:absolute;
    left:0;
    top:50%;
    transition:all 500ms 0s linear;
    transform:translate(-50%,-50%);
    transform-origin: 25% 25%;
  }
  &.active{
    width:0;
    .S02_btn_slide{
      transform:rotate(-180deg);
    }
  }

}

/**
APP
 */
@media (max-width: 768px) {
  .S02_body {
    .S02_navbar {
      top: 0;
      height: 150rem*320/(750*12);
      padding:0;
      background-color:#fff;
    }
    .navbar-nav {
      background: #2e6da4;
    }
    .S02_logo {
      width: 140rem*320/(750*12);
      margin-left: 50rem*320/(750*12);
      margin-top: 50rem*320/(750*12);
      margin-bottom: 40rem*320/(750*12);
    }
    .S02_container {
      background: #FFF;
      padding: 0 50rem*320/(750*12);
      .S02_container_container_title {
        text-align: left;
        text-indent: 25rem*320/(750*12);
        position: relative;
        .S02_container_container_title_01 {
          color: #000;
          font-size: 32rem*320/(750*12);
          font-weight: 600;
        }
        .S02_container_container_title_02 {
          display: inline-block;
          width: 10rem*320/(750*12);
          height: 31rem*320/(750*12);
          border-radius: 3px;
          position: absolute;
          left: 0;
          top: 8rem*320/(750*12);
        }
        .S02_container_container_title_02 {
          color: #b1aeae;
          font-size: 16rem*320/(750*12);
        }
      }
    }
    .navbar-default {
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
      .navbar-toggle {
        margin-top: 20rem*320/(750*12);
        margin-bottom: 20rem*320/(750*12);
      }
    }
    .S02_container01 {
      height: 897rem*320/(750*12);
      .S02_welcome {
        width: 507rem*320/(750*12);
        height: 67rem*320/(750*12);
        background: url(../img/海码教育欢迎您1.png) no-repeat center;
        background-size: 100%;
        margin-top: 217rem*320/(750*12);
      }
      .S02_huanyin_list {
        font-size: 29rem*320/(750*12);
        color: #6c6b6b;
        padding: 20rem*320/(750*12) 0;
        .S02_huanyin_list_item {
          &::before {
            width: 22rem*320/(750*12);
            height: 22rem*320/(750*12);
          }
        }
        .S02_huanyin_list_item_b {
          color: #25a7a7;
          font-size: 32rem*320/(750*12);
        }
      }
      .S02_interview_app {
        width: 500rem*320/(750*12);
        margin: auto;
        .form-control {
          height: 80rem*320/(750*12);
        }
        .S02_submit {
          width: 100%;
          margin: auto;
          background-image: linear-gradient(to bottom, #35adad 0, #2ba4a4 50%, #35adad 100%);
          font-size: 36rem*320/(750*12);
          line-height: 80rem*320/(750*12);
          color: #fff;
          font-weight: 500;
          letter-spacing: 3px;
          border: none;
          padding: 0;
          &:hover {
            background-position: center;
            background-image: linear-gradient(to bottom, #35adad 0, #25a3a3 50%, #35adad 100%);
            border: none;
            outline: none;
          }
        }
      }
    }
    .S02_container02 {
      height: auto;
      .S02_classes_list {
        flex-wrap: wrap;
        justify-content: center;
        .S02_classes_item {
          .S02_class_img {
            width: 460rem*320/(750*12);
            height: 280rem*320/(750*12);
          }
          .S02_class_price {
            position: absolute;
            line-height: 36rem*320/(750*12);
            font-size: 18rem*320/(750*12);
            padding: 0  15rem*320/(750*12);
          }
          .S02_class_type{
            font-size: 24rem*320/(750*12);
             height: 3em;
            line-height: 2em;
          }

        }
      }
    }
    .S02_container04 {
      .S02_classes_list {
        flex-wrap: wrap;
        margin-bottom: 0;
        .S02_classes_item {
          width: 297rem*320/(750*12);
          margin-bottom: 48rem*320/(750*12);
          .S02_classes_item_img {
            width: 295rem*320/(750*12);
            height: 300rem*320/(750*12);
          }
          text-align: center;
          .S02_classes_item_name {
            font-size: 26.7rem*320/(750*12);
            color: #000;
            height: 38rem*320/(750*12);
            line-height: 60rem*320/(750*12);
          }
          .S02_classes_item_zizhi {
            font-size: 14rem*320/(750*12);
            line-height: 40em/14;
          }
        }

      }
    }
    .S02_container05 {
      background-image: url(../img/025-025-00251.png);
      background-size: 100% 100%;
      height: 798rem*320/(750*12);
    }
  }
}

/**
最小768px
 */
@media (min-width: 768px) {
  .S02_body {
    position: relative;
    margin: auto;
    .navbar-nav>li>a {
      padding-top: 35rem*320/(1440*12);
      padding-bottom: 30rem*320/(1440*12);
    }
  }

  .S02_navbar.active {
    background-color:#fff;
    .navbar-default{
    }
    .S02_logo{
      &.S02_logo01{
        display:none;
      }
      &.S02_logo02{
        display: inline-block;
      }
    }
  }

  .S02_navbar_btns .navbar-nav {
    float: right;
    margin: 0;
  }

  .S02_container_shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 0;

  }

}

